package aps

import glory.xxd.Utils

/**
 * 批次作业开始-扫设备
 */
class ShowEQPInfoC2EController {

    def commentService

    def index() {

        def EQPID = params.EQPID ?: ""
        def body = CommentParams.newInstance()
        body.setEQPID(EQPID)
        String logUUID = Utils.getUUID();
        Header header = Header.newInstance()
        header.setMESSAGENAME("ShowEQPInfoC2E");
        header.setTRANSACTIONID(logUUID);

        def json = commentService.getJsonByObjectForTopic2Queue(logUUID, header, body)
        render json
    }
}
